<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>2048用户注册</title>

<script id="jquery_183" type="text/javascript" class="library" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/sign_in.js"></script>
<link type="text/css" href="css/sign_in.css" rel="stylesheet" />
</head>

<body>

	<div class="Div">
		<a href="#" title="konglong">konglong</a>
		<!-- a标签在css中用图片代替-->
	</div>
	<div id="top">
		<h1>2048游戏用户注册</h1>
	</div>
	<h3 align="center" style="color: red">${msg }</h3>
	<div class="form-bak">

		<form method="post" action="UserController?method=addUser" onsubmit="adaptValue();">

			<div class="left">

				<div class="line" id="line_account">

					<div class="info">

						<strong>邮箱</strong> <span class="tips">邮箱就是账号</span>

					</div>

					<div class="input">

						<input type="text" name="account" id="account" onblur="v_account();" onkeyup="v_account();" />

						<div class="none">

							<span> </span>

						</div>

					</div>

				</div>

				<div class="line" id="line_name">

					<div class="info">

						<strong>用户名</strong> <span class="tips">只能由数字、文字或下划线组成<br />最多32个字符</span>

					</div>

					<div class="input">

						<input type="text" name="name" id="name" onblur="v_name();" onkeyup="v_name();" />

						<div class="none">

							<span> </span>

						</div>

					</div>

				</div>

				<div class="line" id="line_password">

					<div class="info">

						<strong>密码</strong> <span class="tips">6至16个字符</span>

					</div>

					<div class="input">

						<input type="password" name="password" id="password" onblur="v_password();"
							onkeyup="v_password();" />

						<div class="none">

							<span> </span>

						</div>

					</div>

				</div>

				<div class="line" id="line_repeat">

					<div class="info">

						<strong>确认密码</strong> <span class="tips">再次输入密码</span>

					</div>

					<div class="input">

						<input type="password" name="repeat" id="repeat" onblur="v_repeat();" onkeyup="v_repeat();" />

						<div class="none">

							<span> </span>

						</div>

					</div>

				</div>

			</div>

			<div class="right">

				<input type="submit" id="submit" value="完成注册" disabled="disabled" />

				<div class="readagreement-wrap" onclick="onReadAgreementClick();">

					<input type="checkbox" name="agree" id="agree" onchange="v_submitbutton();" />

					同意《
					<a id="readagreement" href="#agreement" onclick="showAgreement();" title="查看用户使用协议">用户使用协议</a>
					》

				</div>

				<div>
					已经拥有账号，
					<a href="sign_up.html">直接登录</a>
				</div>

				<div>
					忘记密码，
					<a href="#">请联系管理员</a>
				</div>

			</div>

		</form>

	</div>

	<div id="agreement" class="agreement" style="display:none;">

		<h1>用户使用协议</h1>

		<iframe src=""> </iframe>

		<input type="button" value="同意" onclick="agree();" />

		<a href="#" class="backtotop">返回顶部</a>

	</div>

</body>

</html>

